﻿using GalaSoft.MvvmLight;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CastingWellEquipmentGUI.Model
{
    /// <summary>
    /// 预选配方表
    /// </summary>
    public class PreselectionTable : ObservableObject
    {
        /// <summary>
        /// 预选配方表
        /// 主键
        /// </summary>
        private int _PreselectionId;
        /// <summary>
        /// 预选配方表
        /// 主键
        /// </summary>
        public int PreselectionId
        {
            get { return _PreselectionId; }
            set
            {
                _PreselectionId = value;
                RaisePropertyChanged(() => PreselectionId);
            }
        }
        /// <summary>
        /// 预选配方表
        /// 外键 依赖配方表主键
        /// </summary>
        private int _RecipeId;
        /// <summary>
        /// 预选配方表
        /// 外键 依赖配方表主键
        /// </summary>
        public int RecipeId
        {
            get { return _RecipeId; }
            set
            {
                _RecipeId = value;
                RaisePropertyChanged(() => RecipeId);
            }
        }

    }
}
